package org.example.demo3.dto;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serial;
import java.io.Serializable;

@Data
public class MessageDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    //留言id
    private int id;
     //商品id
    private int pid;
    //用户id
    private int uid;

    private String text;

    private String photo;

    private String photouser;

    private MultipartFile image;

}
